package com.kly.sc.api.integration;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 融云配置文件
 */
@Data
@Component
public class RCConfig {

    /**
     * 对接融云平台api地址
     */
    @NacosValue(value = "${rc-config.api_url}", autoRefreshed = true)
    private String apiUrl;
    /**
     * 对接融云平台凭证：key
     */
    @NacosValue(value = "${rc-config.api_key}", autoRefreshed = true)
    private String apiKey;
    /**
     * 对接融云平台凭证：密码
     */
    @NacosValue(value = "${rc-config.api_secret}", autoRefreshed = true)
    private String apiSecret;
}
